<%= render :partial => "header" %>
<h2>读者对象清单</h2>
<ul>
  <% for audience_type in @audience_types %>
    <li> <%= audience_type.title %>: <%= audience_type.about %> <%= link_to "＊", :action => "edit_audience_type", :id => audience_type %>/<%= link_to "－", {:action => "destroy_audience_type", :id => audience_type}, :confirm => '您确信要删除这个读者对象代码吗？', :method => :post %></li>
  <% end %> 
</ul>

<h2>添加读者对象</h2>
<%= start_form_tag :action => "add_audience_type" %>
  <%= render :partial => "atform" %>
  <%= submit_tag "提交" %>
<%= end_form_tag %>
